#ifndef RENDERWIDGET_H
#define RENDERWIDGET_H

#include <QtGui/QPainter>
#include <QtGui/QWidget>
#include <QtGui/QPen>

#include "point.h"

using namespace GeometryUtilities;

class RenderWidget : public QWidget
{
  Q_OBJECT

public:
  RenderWidget(QWidget* parent = 0, bool designer = false);

protected:
  void paintEvent(QPaintEvent* event);

private:
  QPoint worldToWindow(const Point &worldCoordinate);
};

#endif // RENDERWIDGET_H
